Allow specifying key "llvm-abiname" in target specification
authorGui Andrade <gh@archshift.com>
Wed, 30 Oct 2019 04:12:05 +0000 (21:12 -0700)
committerXimin Luo <infinity0@debian.org>
Sun, 5 Jan 2020 13:35:46 +0000 (13:35 +0000)
commit8d265459c3d921a3e90891bd9b1d5526b48c534c
tree58f422792eedba933afa2dc7ebbfdbfaf83fb44a
parentc858a4be1632c6fd1ac3682960c1411c91f9f7f0
Allow specifying key "llvm-abiname" in target specification

This addresses #65024, as it allows RISC-V target specification
files to set "llvm-abiname": "lp64d". In general, it is useful
for the programmer to be able to set this codegen parameter,
which other languages usually expose under a compiler argument
like "-mabi=<XYZ>".

Gbp-Pq: Name u-riscv64-65953.patch
src/librustc_codegen_llvm/back/write.rs
src/librustc_codegen_llvm/llvm/ffi.rs
src/librustc_target/spec/mod.rs
src/rustllvm/PassWrapper.cpp